import java.awt.Color;
import java.awt.Graphics;

import me.w70.bot.scripting.Script;
import me.w70.bot.wrappers.RSObject;

public class ObjectID extends Script {

	public ObjectID() {
	}

	@Override
	public void draw(Graphics g) {
		g.setColor(Color.WHITE);
		for (RSObject o : getObjects(10)) {
			g
					.drawString("" + o.getID(), o.getScreenPos().x, o
							.getScreenPos().y);
		}
	}

	@Override
	public String getScriptAuthor() {
		return "spooky";
	}

	@Override
	public String getScriptCategory() {
		return "Debug";
	}

	@Override
	public String getScriptName() {
		return "Object ID";
	}

	@Override
	public int loop() {
		return 100;
	}

	@Override
	public String getScriptDescription() {
		return "Shows Object IDs for use in scripts";
	}

}
